environment handling

full model scan instead of scanone
env handling

passing env vector to scan.qtls
env handling

function to handle full scan