Script to manage stream, change the #define dirs