Performance-Based Planning and Programming