Improved code readability for addLeadingZero function.
Changed fetch script to download all of the required libraries automatically.