changed plugin to use remote file and not template