Replace $CFG->themedir with $CFG->dirroot . "/theme"
Update version due to new settings available