Added Settings, API for them and updated the scripts.