changed filename structure, timeout, and added parent process kill (doesn't work)