index is executable script