Attach script for test