Fixed command errors due to new line.