change os.path.normpath to posixpath.normpath because on windows os.path.normpath converts forward-slashes to backward-slashes