Fixed starting directory

Changed directory to the one set in the config and added sleeping to
check for server start completion.