trying to get this upload to work on a local server still having problems though