partition time consuming plotting to another script
cd to starting dir before final command