Added scripting capabilities. Started to implement the reinforcement phase.