Perhaps this could be useful.
(I will update it sometime this week to remove the need of changing the path in the script)