added missing rc.lua file, other minor changes