STUPID should have been a makefile