Updated readme and fixed some condiitonals in securesystem.java