executing a single command works. we're not sure why it doesn't work for multiple lines