Added options for API build script
Cleaning