added warning for malformed batlab scripts