Added merge script for API.