Two another python scripts with sql stuff