Added a previous_run_handler function to streamline the directory_prep function and added checks for the search, align and place steps