Made predefined graphs work if the app runs in a subfolder
clarified comment