export prepare resource functionality
1.0.4