Generalized script to run to/from anywhere