support of all librusec-like sites; writing file fix; removing empty lines added