renamed script
refactored to work with gitlab