Added basic option parsing to the lkplug file.