resolves #2 : support for ifexists command