added production mode to graph creator