added a script to save mean as proto