Security alert rails, many other changes