pre- and post-processing scripts for ansu