Fixed header (was missing newline)
Fix to remove trailing spaces from the input molecule name