Fixed Routine's compile  script
Cleaned up PlaceholderDB and PlaceholderRoutine