put init cmd into registry pkg