Updated download URLs, added directory creation calls