added libs/smarty back