Changed ATF loader to use unsafe code for upload