Clean up smarty dirs
User lang modifier instead of function