hook_install to set weight
moving to version 2.x