Fix executable path detection, add absolute paths to resource files