Adding security manager copy so its not overwritten on traverse