solved static file prefix issue with a sed hack