change path when executing program to the program's directory