Working on the Static middleware