crack at putting a validate_environment into dictionary_manager