Move AG grep to conditional statemnt