Added error messgage for missing dependencies.
Todo: rearranged priority