Committing histogram comparison script