A pretty simple script with zero magic