Changes to Alopex and fixed scripts