fix server startup script