fixed foreman template directories and templates