Added code for deleting packages