Added level parameter to qrgrid.php