adapted the script to the new alchemie version