Detact wget from script.