added camera saving and other stuff