Fixed: Wasn't passing folder location to check_tmp