Added exit status testing to bplc script.