Updated index php to output some debug information