handle vars on cmd line