refactor static_path to accomodate web portal