added midentify
added htime
use env in shebang