Find script name using sys.argv rather than __file__.