update readme to be same code as in index.php