fix foo script