When building replace application key by code