Code for Handling Static Resources