adding load path function