tweak requires and loading