Modified directories and added flags
Added methods