fixed issue with script settings