Both are completely valid. When you say "preferred" I would actually say it is a matter of your own preference. Building an image is not hard, but it is presumably more work than using the script method. It is a tradeoff between the extra work of building your own custom image, which is then ready with everything you want vs the simplicity of installing the standard release image and then having the script install all the user-installed packages.