style: some improvements in rc.lua and other