Updated to allow choosing of https for the production site.