Adds an interface argument to the run command to attempt to fix #1

I also added a little more error checking here and there