Added script to work with api