Updated absolutePath generation