add index2 file and not using php extra format anymore