Fixing the path issues for calling omdb