code quality and add extension to executable