Add newline if missing to end of script magic cell
Merge pull request #6102 from etgalloway/script-magic-cmd

Add newline if missing to end of script magic cell