Adjusted the safekey system for backwards compatibility by adding a flag to use it that is set to false by default.