Fix bugs
Add spawn.sh and kill.sh