added lib directory creation