added functions to write out backend setup and observing scripts