adding requires method that given a package will make sure it is installed in the active environment