Removed random variables and added print statement upon receiving a POST image