changed security manager. now runs from cmd