cleaning sciphy-map.sh function