added initial version of autosim script