Updating to use yaml.safe_load for profiles (just in case)