Issues in production fixed where inheritance of the main application wasn't working