sub_scripting: updated valve assignments