Fixed "smarty not found" errors with the application