pos billing script modified