made scipy optional