set some svg variables to local