Refactored get_url, verified command and other minor fixes
Fixed clear cache bug in defaults.py