Changed index to .php extension