add pre_proc and static files