Fixed the load script to glob a specified directory