move the foundation() inside my script file