Sending dynamicly built uri to template, fixes #8