refactor fork.sh - exit if wget not available