Routine tweaking. Fixed error in main line parsing.