fix scripts and almond