I need someone to help me make a script that will write all the required block data, from a selection area into a yaml file in a specific syntax.