Added support for costume destination, and cli build.
Small fixes in templates.
Small fixes in how costume destination works.