proper directory upload