renamed vars for readability
added flag for HTTPS, config.ini checks