added script applying role to a host