I’m mobile, so this will be short.
Use the after_setup_theme hook to add a function to set those variables. Declare them as global inside that function before setting them.
Hope that helps.
If anybody wants to add an example to this answer before I get home, feel free. 😉