fixed get_relative_path, works for /static files now.