Refactored static assets to use options, allow for watch command in external build process