Update apply.sh

Added TCP_WRAPPERS configuration (moved from cat2/gen006620.sh) to apply.sh to allow for greater user customization and checkpointing.