Moved set up to rc.lua