Added platform-dependent upload script