add qsub script for chains