Add logging and progressbar to qsub store script