Now changes tab name to something more descriptive and changes it back after exiting. Also fixed path to pem file