Updated run script to separate settings