add method to insert sys path, added checks for import failure