add index file and static directories