fix bash script for role