Trying to clean this up to have the times passed in as parameters through argparse and not sys. The idea is to take time parameters as input and search agains the bucket, conver