uploads the pictures to the right path now