Added local dependencies. Added options