added %k magic vars (number of cpu cores)