Added option to change settings before loading session.