Refactored the assets parse and  button