Modified deploy script for admin