added uniform automate script with switch case for each role