modify overlays and add Torch package