I am running my code but it shows already in script mode and fails to start server 