helpful scripts for Magzor work