Major updates, change directory input form, insert containing function, loop through directory list