modify hack_term to run in hacker_term