Fixed starting server and creating profiles.