config vars
lame copy over function