Fixed s:get_main_recursive() - don't assume pwd