adding code to correctly split the roles passed in so that they are a list