cleanup run scripts and rename gConditions to gAvailableConditions