mv to circumvent scipy dependency