More secure rake task