added scripts to run method and score method
minor change - moved some of functions in score.R to method.R