without giving embed target directory throwing Exception.