If only executes once now, fixed