Contrib lua lmod

This might assist people to enter the Lmod era, there is a helper script included.