startup script for simulation