Allow automation of last stage & optimizing scripts