Added a warning to prevent running in devmode