Update core of the script to make it compatible with lastest API updates