change main file when running the server