wait a little bit until testing index content. fix clean script environment variable. add script for cleaning index.