Added map to execute perl scripts