add code to index php