script configuration for agent