Added api script support to yaml