Finalized the script, disregard previous commits.