Allow custom flags to be passed in to ag