Fixing issue with not reading config
Improving video recording