added option to select variables for profile extraction to speed things up (-v/--variable) and -a/--all_variables to extract all.