sas_code_2 edits

Made some essential edits to the program which without them life would
end.