formatting and such for runAsim function.