Long and short parameters parsing script