rearranged
added commands to fake terminal