changes tto read/write   directives
fixed diiirectives read/write + date    processing