cleaning jupyter notebooks for deployment