platform-as-subfolder-mode support added