ensure index from app instead of scripts