removed static lib tag for motif, also removed second sed line