add ability to pass flags with hyphens