Move commands to single line