An easy way to avoid this is to have several scripts (bash for example):

getfile.sh processdata.sh postresults.sh doall.sh

And doall.sh consists of: ./getfile.sh ./processdata.sh ./postresults.sh