1. At a computer system, the computer system including a processor and system memory, a method for configuring an application to comply with a policy, the method comprising: presenting a graphical element for user selection on a display device, the graphical element represents that an amended application is available for execution, the graphical element taken from a target application, the graphical element presented on the display device to make it appear as if the amended application is the target application, the amended application including a hooking library; receiving user input selecting the graphical element; in response to receiving the user input, loading the hooking library; configuring an environment for executing the target application including: accessing a policy for the target application, the policy including one or more policy elements; matching the one or more policy elements to APIs that are to be monitored by the hooking library; in conjunction with launching the hooking library, executing the target application in the configured environment.