add lua mode and a package to get user path variables