Added the smarty working directories.