Defining local_tmp_dir
Passing parameters the right way