Fix stage1 script