updated build script
added auto assign