removes most dynamic require statements