move resolve(selector) into executetools