Should now select the correct package when version is specified

This should address #17 and now select the correct package when `$version` is given