Adding in mapping function on commandline