add deployment script
introduce isexe predicate