adapting rc.lua to my system