Script generaion for brokensymlink