First working version of lmctfy scriptlet (a bit rough around the edges)