add stage loader script