modify manifest & paste code From https://gist.github.com/anonymous/79957488c47f2fb35a88