While it might sound like it would take longer to write your own script from scratch, you will learn much from doing it yourself, and it may even take less time that trying to read and understand code someone else wrote. Even worse, you may get it working, but then later a bug could be found in it. It will be much harder to troubleshoot if you don't understand the code, compared to something you built from the ground up.