Adds posibility to set api key