move cdpkg to a shell file