Changing static directory stuff so that it works regardless of where the server is.