IMPROVED UI CODE
fixed directories