Replace all variables