add merge=all option in merge scripts