change search string. add initial expanded search code