merge old shell scripts