Updates to weight script

Fixes for handling the fact that the networks need "galatea"