updates to env static handler