update cube building scripts to latest snapshot