localise queue directory in initial scan script