Fix undefined variable errors in camoURL