add ag and flycheck to required packages