Alright, found a better solution in this thread, which may well be what you did also.