Write a deploy task and fix some asset stuff