create *.sim automatically in hs