updated views and base dir setting
updated kde function