add accept.js for HTTP Accept
build should create target dir if not present
create log file in run script if not present