Fixed startup script issue