escape spaces in commands better