Making ENV variable work