Made it possible to run in the background