Sample application location refactored