We detail the notion of architectural scripting (ASL) as a way to model the dynamic aspects of runtime and deployment-time software architecture. This is complemen-tary to the ability of architecture description languages to model architectures statically in that we define scripting op-erations to modify architectures at runtime. The scripting operations have as verification of the ap-proach been implemented in an interpreter bundle on the OSGi platform. This implementation is used in our self-management system for generating correct reconfiguration plans in a self-managed system. 1