Added shebang line, fixed a bug where trying 2 processes would cause no processes to be spawned.