plugging in copy location search param logic