improved script readability