Changed is_custom to an int