Prepare karma and specs