added autoindex flag