Fixed the relative to absolute position
made a line of code that will open the 'closet' file instead of the index