Startup script fixed