fix to use settings properly on all platforms

settings should be parsed and arguments populated before command execution also on windows platform