Flexible load of layers

ohhhh … there is a problem with the script, when you save a preset and reload it, the macro shows the saved layer, but the one that sounds is always the first layer, not the saved layer