Execute consecutive scripts

Maybe package extensions could solve your issue elegantly.
Tutorial: