Changed the file to be called from MainApplication.