Replace variables with value