Download tool now uses the pyruntime.

1. For all your constant directory needs.
2. Also did some minor polishing.