changes subdir object behaviour during build process