have not managed to get it to run in the background.
fixed a bunch of things!