Fixing main.py to work with new changes on Search/Download methods.