added debugging code to mapper and execution shell script