adjusting build script for api's