Fixed error with the security directory.   $ != @ in getting a variable in a template.