scope query, extend self, rakefile shenanigans