Maked index.php work for use with canvases