use within keyword rather than cd within execute