Computer controlled chemical injection / flow control spraying