saving the correct folder