changed other.secret to general.secret; renamed envvars to envars; added comments to boilerplate; copy edits