Added cleanup of old package versions when a new one is added