Need to change STDIN package passing detection
Current, the script tries to detect the passing of packages via STDIN through checking if STDIN is not attached to a tty (such as when it is piped in). However, this detection fails when the script is run as part of a CI/CD pipeline such as a gitlab-runner. Should probably implement a command line flag indicating that STDIN will be used.