made wave key  env variable