Now handles arguments and doesn't crash with connectors, but fails to run subsequent commands