Set proper Main file for startup