Add the passed calculation to migrate_marks command