New updates

This should fix the issue when using an output dir with whitespaces