Added windows paths support due to backslash errors.