Fixing startup script