Added check to see if app is in development mode