Firstly, as requested within the terms on my site, I would prefer if programs were referenced by name or using a simple link to the original, rather than posting the entirety of the code on another site and would therefore appreciate if you edited your post to remove the quoted code.
Regarding automatically enabling the program on drawing startup: this may be achieved using any of the methods I describe here; I would personally suggest that you create an AutoLISP file with the filename acaddoc.lsp saved within a trusted AutoCAD support file search path (or modify such file if it already exists), and populate this file with a load expression such as:
(load "LayerDirectorV1-9.lsp" nil)
Assuming that my Layer Director program has also been saved to a trusted AutoCAD support file search path.