thanks for your reply almut,
I beleive forking would be my number one choice here, however I have been looking online and reading but still do not understand how to fork a process and use my variables from my main process there aswell, if anyone can explain this to me it would be great. thank you.