Fix console scripts exec