Allow user's PATH environment variable
Fix package name regular expression
Fix download strategy