made it run from command line
tried some things, didn't work yet.