Tweaks to devify script