added check for Instructor Keys
added check for gpg
cleaned up colors and added warning function