changed -sp and -ss to use -data, inserted ints and bytes into search/write functionality.