Initial script commit, currently broken, working on fixing to allow for customization of output folder