python and bash scripts