broke a lot of stuff, added content-type, form to submit commands