Clone of https://bitbucket.org/hudson/magic-lantern