BBFILE variables fixed