Switching apply script to use git submodule