Cut the search function and prepare the execute options.