Setting startup path for debugging
Fixed a bug with uploading very large images