update python scripts when using in ubuntu.