Making check_wms executable