Initial commit of script.  Still needs work