Moved possAIVs and change of maindf order up
Altered order w/data.