Added a method to create a standalone executable.