add file for server specific code
Fix upload bug - Upload is working again