added commented lines for information
cleanup
removed unused options
merged line print commands