edited script for asme paper 2013
added more transparency functionality