This simplifies the process by giving you an easy-to-use panel where you can simply choose where to put the null, hit the button and BAM, it does all the work for ya.
Have multiple layers selected? Not a problem! The script will run through each layer and create a null at that point for each layer.