Determining correct folder for installation