script for roles