re wrote base gates scripts
updated mission pbo