add sh for getting penbase