Added Custom values for nif version, user version, and user version 2.
renamed a few variables