forking script I find very useful