Add grab_int_value, use it for parsing artifact.txt