changed static_dir to script