fix some paths for startup script