Use envsubst rather than perl