updated rmagic load call