Fix the static file directory and add more dependency libraries.