create require/script requrie/promise