convert all require statements to sugared syntax