rename leg script file