write executable