separate script into 4 different ones correctly named