added parameters to the program to get the path of it and omse minor fixes