solved problem wiht temporary files and nbt_movegui