Remove duplication with helper func.
Remove duplication with helper func.

starcraftman/.my_scripts,starcraftman/.my_scripts,starcraftman/.my_scripts,starcraftman/.my_scripts,starcraftman/.my_scripts,starcraftman/.my_scripts,starcraftman/.my_scripts