Modified grade to accept url