added path resolution in main.c