Ok refactored the script a bit and updated the comment-section. Ready for first release! :)