remove cm.dependencies and add build script