added in $.flags to compliment $.args