Minor changes. Added log package