Moving to functions instead of separate scripts