add extension check script