Documented resource publishing strategy
Removed unused variable
Changed resource publishing strategy to utilize I/O