Added logic for generating attack jobs