Fix encoding issue, add setup script.