Added the action parameter to the absolute paths function.