updates to draw vars from env