Modified pipeline.sh to add dirs (tmp, lightcurves, lightcurves/tfa)