Fixed merged scripts