Use activatePackage command instead of enablePackage.