Updating things for productin

A set of changes from master to minimum security to production system.

@kashif74 this will be required to make HTCondor work.