remove old pkg based deploy code