added pty=false to several commands. Also fixed the puts.format command