Updates env file and renames .template to .dist