Edited main app file