deploy code for tw