Fixed directory seperators to use os.sep