merged two asset building scripts