Add affinity configuration to start scrpt.