add where script