reorganization of data and scripts
added bit to pad zeros