bash and python scripts