Tweak do-it-yourself code