updated build sh script