Further enhancement for the vIPSec script