Fixing path replace
Moving template to parent folder