Added check for api key
Added strtolower