Fix generated to dist copy

Fix that generated commands and templates are not copied to dist folder