Made the startup script usable from outside its directory