single script for both Intel and AMD machines