make configuration scripts Python 3 compatible