Update mergeproduction script

Add optional commit at the end