Update Tweaks script to work correctly