Adding loading script