Added routes helper and fixed string formatting issue