Using asm in main scripts