BAC processing scripts