gras: python tweaks from last commits