Fixed bug in server startup script