bug fix, scriptwrapper starttime