script updated for missing package