Fix bug where assign_role_script was using the interface from the deprecated
assignrole action, instead of the newer policy/assignrole action