corrected template directory root for remote