removed hash bang from begin yep this was once a script
sorted out https_only http_and etc from old script way to labels
format