Properly escape commands