added warning for incomplete scripts