Changed exec to spawn, little bugfix