Loads utils before attempting to install.
Changes a typo in a variable name and renames pkg to pkgs.

I still had a reference to the variable packages, which was an error
in the second check. This is now corrected.

Also replaces pkg with pkgs, since it will be plural more often than singular.