changed @author
support for http and https generated output