Implemented absolute and relative paths properly