Updated package check settings. Made better variable names. Added and improved documentation.
Fixed typo in example.
Fixed another typo.