Even better would be to use KiXcrypt or ASE to encrypt the complete package that would consist of a license script and the main script. The license script fires off first, sets a variable in the main script to the appropriate value via READLINE/WRITELINE to enable/disable features, then tokenizes the main script. Thus, the license itself is now embedded inside the tokenized script.
_________________________
There are two types of vessels, submarines and targets.