added third parameter in constructor to optionally pass skeleton bundle dir