fixed script definition