Separated script into a separate file