Fix grab if Python is not used