Removed upload config, configured upload library directly in code