changing dirs , adding http header analysis based on stringscanners