re-arrange build tools for sub-themes