added environment variable to $$ hopefully to return connection