Change env variables to match CRABServer.
Minor cleanups from pylint.