added parameter to not build static files