fixed the directory that init script runs in