global scripts and bug fix settings screen check