Updated merge! to save merged in resources