add loading script