Issue #2: updating commit script
Issue #2: fixes problem with heredoc in commit