swap chown by require directive