Edited the main app file