Use export instead of checkout