added fork to run sh