Ok, so far removed file object declaration from setting the file, removed host = args.host that was before everything, fixed the getting port and user, if it can't find either it will print and exit, fixed the spawner with a new way of declaring variables command()%(assigned, variables, here) <- Note there is no space, and fixed the expect and stuff