Added ability to disable committing via environment variable