Fixed clone script