Tweaking loading script