better qgen script