changed path management to relative paths