fixing the assembly script