scripts for setting up mimic