Added variable to enable main app layout