correct bg tutorial update for python script