Fixed Errors in Ladder Script