adding loader script