defining the new functions I want to use to edit a role's environmnet run list.
realised we need to specify the environment
corrected some of the argument values