Added some stuff for uploadif