I have some scripts I want to run both command line (schedule task) and in the desktop toolbox. I use argparse for command line arguments but toolbox uses arcpy.getParameters... Is there a best practice to have the same script be run in multiple ways? I specifically don't want two scripts since the toolbox one is used to make sure the output of the scheduled one will be correct.