change underscore to hyphen in server-environment