solved problem with temporary files and nbt_movegui