add error handling if user inputs a  relative path for files of content_script