adding output values fr the role arns.
fixing up the script to do everything it needs. it's kind of a mess but it works.