Changed MAX_SCRIPT_ELEMENT_SIZE
Changed MAX_SCRIPT_SIZE
Fixed bp_valid_value()