allow blank lines and comments in scripts

Blank lines used to work in scripts.  Broke recently.  Fixing that.

Also allowing comments starting with #.

Also add trace command to see commands as they execute.