run in fork mode