SDsym_ bug fixed and STDIN added