fixed clone script