add invalid key exception and some options, see ./pypoolx.py help for more infos !