simplify code by using new $$absolute_path() function