scripts from the sni-support PR of gh:indiehosters/infrastructure