Fixed script mergetoproduction