Add preconfig_security to commands.py