Change to use $CODE_BASE instead of hard coded path.