fixed the standalone execution with -c parameter
Merge pull request #139 from gbin/fix_standalone_exec

fixed the standalone execution with -c parameter