Finalizing application - single script