[bash] hprofile: run-script: minor fix