An inventory model with recovery and environment considerations