added retrieve_bands.py