added path resolution for each command