Scheduler Fix

Edited the create_expired_lines from an Instance Method to a Class
Method