allow multiple versions in ref
added more component regexes
show progress through file