Changed the way the script handles being run again
Added check to see if script running from within RAM Session