build script for cams