adding deprecated bash code to support pulls