Added build script input validation.