Better feature script debug output
Merge pull request #506 from remoe/add/more_script_error_log

Looks good.