Improved code, added 2.mp4 settings and local settings example.