small fix for static server script, been a while since ive updated it! new node :P