Introduce .map to script