simple standalone script runner
better extension check