added logic for the maintenance packages.