Made the script universal. Now able to build for all supported models without editing.