Ensure scripts attachment