Scripts updated. installation of smarty engine added to script.