Preparing application