Fix paths in templates to make it work with sandbox app.