make script handle both keeping/dropping program information