Deactivate the current app declaration before loading scripts