add build scripts for cloud deploy