Finished writing script, now testing