Fixed autoLoadSwift function.