updated script at end to remove deprecated feature