connecting scirpt files