cd to top directory before starting upload