add text execution parameter logic to handle dates