Added environment & charset header, removed unused import