adding base dir