Modification to allow settings to run properly.