Added CRL to the Lua options, made some refactoring.