load platform specific scripts dynamically