fixes compatibility with python 2.6 ( RHEL6 )
provide an option to specify a directory where the will run