move html_term to a shell script