fixed argparse and moved to bottom. Renamed reScale to main