Fixed build script - migrate to new SDK