script for fast forward merge