fixed last error for port and change run script